const express = require('express')
const router = express.Router()
const followCtrl = require('../controller/follow')
const followValidator = require('../validator/follow')
const noAuthisLoginCheck = require('../middleware/noAuthisLoginCheck')
// 点击关注或取消关注
router.post('/follow/:followeeId', followValidator.postFollow, followCtrl.postFollow)
// 获取关注列表
router.get('/followlist',noAuthisLoginCheck, followCtrl.getFollowList)

module.exports = router
